<include file="./Tpl/Admin/header.html" />
<style type="text/css">
.listdo a{display:block;margin:5px 0px;}
</style>
	<div class="list_body">
		<table cellspacing=0 cellpadding=0 border=0>
			<tr>
			<th>ID</th>
			<th>矿机名称</th>
			<th>矿机数量</th>
			<th>购买时间</th>
			<th>使用寿命</th>
			<th>操作</th>
			</tr>
            <tbody>
            	<foreach name='factory' item='v'>
                	<tr>
                    	<td>{$v.id}</td>
            			<td>{$v.factory}</td>
                        <td>{$v.num}个</td>
                        <td>{$v.time|date="Y-m-d",###}</td>
                        <td>{$v['shouming']}小时</td>
                        <td><a href="/?s=Admin/Factory/deletFactory/id/{$v.id}">删除</a></td>
                    </tr>
                </foreach>
            </tbody>
            </table>
        </div>
          
		
<include file="./Tpl/Admin/footer.html" />